#include "form.h"
#include "ui_form.h"

Form::Form(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Form)
{
    ui->setupUi(this);
}

Form::~Form()
{
    delete ui;
}

void Form::set_weather(QString time, QString wea, QString high, QString low, QString pressure)
{
    ui->time_label->setText(time);
    ui->wea_label->setText(wea);
    ui->high_label->setText(high);
    ui->low_label->setText(low);
    ui->pre_label->setText(pressure);
}
